package com.black.service.service;

import com.alibaba.fastjson2.JSONObject;
import com.black.protocol.Response;
import com.black.service.entity.ResourceEntity;

public interface ResourceService {
    Response<?> saveFile(ResourceEntity resourceEntity);

    byte[] loadFile(String resourceId);

    String getUrlByResourceId(String resourceId);

    Response<?> generateQrCode(JSONObject params);
}
